home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / WimpSWIs / s / 45TransBlk < prev    next >
Text File  |  1995-08-26  |  1KB  |  48 lines

  1. ;
  2. ;       Title                  : Wimp Transfer Block
  3. ;       System                 : Wimp Library
  4. ;       Version                : 1.0
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 12th January, 1990
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Transfer a block of memory from task
  10. ;                                to task.
  11. ;
  12. ;
  13. ;       Modification history.
  14. ;
  15. ;       Version                : (Reflect in header IDENT)
  16. ;       Date                   :
  17. ;       Author                 :
  18. ;       Changes                :
  19. ;
  20. ;
  21. ;============================================================================
  22. ;
  23. ;  Include files.
  24. ;
  25. ;============================================================================
  26. ;
  27.         GET     ^.h.regdefs
  28.         GET     ^.h.swinos
  29.         GET     ^.h.macros
  30. ;
  31. ;============================================================================
  32. ;
  33. ;  Code.
  34. ;
  35. ;============================================================================
  36. ;
  37.         PREAMBLE
  38.         STARTCODE Wimp_TransferBlock
  39. ;
  40.         MOV     ip, sp
  41.         STMFD   sp!, {v1, lr}
  42.         LDR     v1, [ip, #0]
  43.         SWI     SWI_Wimp_TransferBlock + XOS_Bit
  44.         MOVVC   a1, #0
  45.         LDMFD   sp!, {v1, pc}^
  46. ;
  47.         END
  48.